//
//  SCHitButton.m
//  PhotoAlbum
//
//  Created by Chao Sheng on 2021/12/8.
//

#import "SCHitButton.h"

@implementation SCHitButton

- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
    //扩大的按钮点击范围
    CGRect bounds = CGRectInset(self.bounds, -20, -20);
    
    return CGRectContainsPoint(bounds, point);
}
@end
